﻿using System.ComponentModel.DataAnnotations;

namespace HealthcareSystem.API.Read.DTO.ChronicDTO
{
    public class ChronicDataDTO
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ChronicId { get; set; }
        /// <summary>
        /// 居民基础档案外键
        /// </summary>
        public int RecordId { get; set; }
        /// <summary>
        /// 集中签约外键
        /// </summary>
        public int CSignId { get; set; }
        /// <summary>
        /// 居民体格外键
        /// </summary>
        public int PhysiqueId { get; set; }

        //----------------------------居民基础档案
        /// <summary>
        /// 姓名
        /// </summary>
        public string? RecordName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int RecordSex { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public string? RecordAge { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string? RecordIdcard { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string? RecordPhone { get; set; }
        /// <summary>
        /// 家庭地址
        /// </summary>
        public string? RecordSite { get; set; }
        /// <summary>
        /// 签约团队
        /// </summary>
        public string? RecordTeam { get; set; }
        /// <summary>
        /// 签约状态
        /// </summary>
        public int RecordState { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime RecordDate { get; set; }
        /// <summary>
        /// 婚姻
        /// </summary>
        public string? RecordMarriage { get; set; }
        /// <summary>
        /// 血型
        /// </summary>
        public string? RecordBlood { get; set; }
        /// <summary>
        /// 参保情况
        /// </summary>
        public int RecordInsured { get; set; }
        /// <summary>
        /// 职业
        /// </summary>
        public string? RecordProfession { get; set; }
        /// <summary>
        /// 文化程度
        /// </summary>
        public int RecordCulture { get; set; }


        //----------------------------集中签约
        /// <summary>
        /// 签约团队
        /// </summary>
        public string? CSignTeam { get; set; }
        /// <summary>
        /// 签约医生
        /// </summary>
        public string? CSignDoctor { get; set; }
        /// <summary>
        /// 签约开始时间
        /// </summary>
        public DateTime? CSignBegin { get; set; }
        /// <summary>
        /// 签约结束时间
        /// </summary>
        public DateTime? CSignEnd { get; set; }
        /// <summary>
        /// 管理慢病
        /// </summary>
        public string? CSignManage { get; set; }
        /// <summary>
        /// 管理级别
        /// </summary>
        public string? CSignLevel { get; set; }
        /// <summary>
        /// 签约凭证
        /// </summary>
        public string? CSignImage { get; set; }
        /// <summary>
        /// 删除标识符
        /// </summary>
        public bool CSignIsdel { get; set; } = false;

        //----------------------------居民体格
        /// <summary>
        /// 身高
        /// </summary>
        public string? PhysiqueHeight { get; set; }
        /// <summary>
        /// 体重
        /// </summary>
        public string? PhysiqueWeight { get; set; }
        /// <summary>
        /// BMI
        /// </summary>
        public string? PhysiqueBMI { get; set; }
        /// <summary>
        /// 腰围
        /// </summary>
        public string? PhysiqueWaistline { get; set; }
        /// <summary>
        /// 收缩压
        /// </summary>
        public string? PhysiqueShrink { get; set; }
        /// <summary>
        /// 舒张压
        /// </summary>
        public string? PhysiqueDiastole { get; set; }
        /// <summary>
        /// 空腹血糖
        /// </summary>
        public string? PhysiqueFBG { get; set; }
    }
}
